﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace TheCup
{

    public class OrderOfMeritListEntry
    {
        public Player Player { get; set; }

        public string TiedPositionIndicator { get; set; }
        public int Position { get; set; }

        [DisplayFormat(DataFormatString = "{0:N1}")]
        public decimal EarningsTotal { get; set; }

        [DisplayFormat(DataFormatString = "{0:N1}")]
        public decimal EarningsAverage { get; set; }

        public int NumberOfWinnings { get; set; }
    }

}